<h1>News</h1>

<% if flash[:notice] %>
<div id="flash_notice"><%=h flash[:notice] %></div>
<% end %>



<div class="game_list">
 <h2>News</h2>
 
 <ul>
 <% for news in @new_news %>
 <li><%= link_to h(news.name), news_path(:id => news.id)  %></li>
 <% end %>
 <%= no_news(@new_news) %>
 </ul>
 
 </div>
 <br />
<% if admin? %>
 <p class="add" align="right"><%= link_to "write new news", new_news_path %> </p>
<% end %>
